package com.example.jdbc.pattern.proxy.staticproxy;

import com.example.jdbc.pattern.service.PrintService;

/**
 * @author ：wuhong-016
 * @version v1.0.0
 * @Create : 2021/1/4 18:52
 * @Description : TODO
 **/
public class StaticProxyImpl implements PrintService {

    private PrintService printService;

    public StaticProxyImpl(PrintService printService) {
        this.printService = printService;
    }

    @Override
    public String doPrint(String msg){
        return printService.doPrint(msg);
    }

}
